<name>Mimosa</name>
<profession>Expert Teacher of Alchemy</profession>
<faction>Centaurs</faction>
<dialogue>
  <greeting>
    <reply>
      <if>
        <reputation>70</reputation>
      </if>
      <text>It is good to meet some fellow alchemists once in a while!</text>
      <return>main</return>
    </reply>
    <reply>
      <text>I guess you are in need of a monitor to keep your mixes from exploding.</text>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>Is there a limit to how many ingredients go into a potion?</text>
      <npc>
        <reply>
          <text>I have never mixed one myself with more than eight ingredients total. I believe there is one with nine, and there are rumours of potions more complicated even than that, but I dare say that any of those will not be stable. As an expert, you will be able to make layered potions that contain 3 or 4 ingredients after mixing, and those will serve you well. You can always add a catalyst to increase their power.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>I would like to become an Alchemy Expert.</text>
      <npc>
        <reply>
          <if><grandmaster>Alchemy</grandmaster></if>
          <text>You already are a grandmaster!!</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><master>Alchemy</master></if>
          <text>You already are a master!</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><expert>Alchemy</expert></if>
          <text>You already are an expert, [name].</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><skill>!Alchemy</skill></if>
          <text>You do not know the skill, [name].</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><class>Explorer</class></if>
          <text>First, you must be promoted to Agent or Monk.</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><class>Adventurer</class></if>
          <text>First, you must be promoted to Monk.</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><expertlevel>!Alchemy</expertlevel></if>
          <text>You are not good enough yet.</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><gold>!1000</gold></if>
          <text>You cannot afford the fee.</text>
          <return>main</return> 
        </reply>
        <reply>
          <text>Congratulations, [name]!</text>
          <return>main</return> 
          <script>
            <gold>-1000</gold>
            <expert>Alchemy</expert>
            <log>[name] Alchemy Expert</log>
          </script>
        </reply>
      </npc>
    </option>
    <option>
      <text>Where do we travel for the Master Teacher of Alchemy?</text>
      <npc>
        <reply>
          <text>Tim Agines, the Druid, has moved to the province of Goetia, I believe. It is said that he was the first to write down the recipes. Of course everybody is doing that nowadays.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Goodbye!</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
</dialogue>